﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 建邦配料系统
{
    internal class AAClass
    {
        public static void AAMapping(int IMapping,out string StrMapping)
        {
            StrMapping = "";

            switch (IMapping) 
            { 
                case 1:
                    StrMapping = "Ala";
                    break;
                case 2:
                    StrMapping = "Phe";

                    break;
                case 3:
                    StrMapping = "Cys";

                    break;
                case 4:
                    StrMapping = "Sec";

                    break;
                case 5:
                    StrMapping = "Asp";

                    break;
                case 6:
                    StrMapping = "Asn";

                    break;
                case 7:
                    StrMapping = "Glu";

                    break;
                case 8:
                    StrMapping = "Gln";

                    break;
                case 9:
                    StrMapping = "Gly";

                    break;
                case 10:
                    StrMapping = "His";

                    break;
                case 11:
                    StrMapping = "Leu";

                    break;
                case 12:
                    StrMapping = "Ile";

                    break;
                case 13:
                    StrMapping = "Lys";

                    break;
                case 14:
                    StrMapping = "Pyl";

                    break;
                case 15:
                    StrMapping = "Met";

                    break;
                case 16:
                    StrMapping = "Pro";

                    break;
                case 17:
                    StrMapping = "Arg";

                    break;
                case 18:
                    StrMapping = "Ser";

                    break;
                case 19:
                    StrMapping = "Thr";

                    break;
                case 20:
                    StrMapping = "Val";

                    break;
                case 21:
                    StrMapping = "Trp";

                    break;
                case 22:
                    StrMapping = "Tyr";

                    break;
                case 23:
                    StrMapping = "X1";

                    break;
                case 24:
                    StrMapping = "X2";

                    break;
                case 25:
                    StrMapping = "X3";

                    break;
                case 26:
                    StrMapping = "X4";

                    break;
                case 27:
                    StrMapping = "X5";

                    break;
                case 28:
                    StrMapping = "X6";

                    break;
                case 29:
                    StrMapping = "X7";

                    break;
                case 30:
                    StrMapping = "X8";

                    break;
            }

        }
    }
}
